//
//  foundQuestModel.h
//  YuTang
//
//  Created by 葛悦彣 on 2024/7/31.
//

#import <Foundation/Foundation.h>
#import "TemplateFoundDetailsModel.h"

NS_ASSUME_NONNULL_BEGIN
@class pondModelListModel,TemplateFoundDetailsTaskTypeModelListModel,TemplateFoundDetailsTaskItemModelListModel;
@interface foundQuestModel : NSObject

///当前养殖场
@property (nonatomic ,strong) NSString * orgCode;
///工作模板id
@property (nonatomic ,strong) NSString * templateId;
///工作模板名称
@property (nonatomic ,strong) NSString * templateName;
///编组id
@property (nonatomic ,strong) NSString * tissueId;
///编组名称
@property (nonatomic ,strong) NSString * tissueName;
@property (nonatomic ,strong) NSString * TJtissueName;

///任务类型详情--统一时使用
@property (nonatomic ,strong) NSMutableArray <TemplateFoundDetailsTaskTypeModelListModel *>* taskTypeModelList;
///池塘列表--添加任务时使用该数据
@property (nonatomic ,strong) NSMutableArray<pondModelListModel *> * pondModelListModel;
//用来拷贝的池塘列表
@property (nonatomic ,strong) NSMutableArray<pondModelListModel *> * CopyPondModelListModel;

@property (nonatomic ,assign) CGFloat HeaderTopViewH;
@property (nonatomic ,assign) CGFloat HeaderTopPondViewH;
///新增任务的提示
- (NSString *)TjAPiHUDString;
///新增任务的提交数据
- (NSMutableDictionary *)TjDict;
@end
///任务选择池塘列表
@interface pondModelListModel : NSObject

@property (nonatomic ,strong) NSString * ID;

@property (nonatomic ,strong) NSString * name;
/// 是否允许批量打卡;1:允许 0:不允许
@property (nonatomic ,strong) NSString * batchFlag;

@property (nonatomic ,assign) BOOL isSeled;
@property (nonatomic ,assign) BOOL isSQ;

@property (nonatomic ,strong) NSMutableArray <TemplateFoundDetailsTaskItemModelListModel *>* taskItemModelList;
///多选下带子选项任务
//@property (nonatomic ,strong) NSMutableArray <TemplateFoundDetailsTaskItemModelListModel *>* DZXXtaskItemModelList;
@property (nonatomic ,assign) CGFloat RWcellH;
///任务使用表格的高度,最多双行
@property (nonatomic ,assign) CGFloat RWBGcellH;
///鱼塘打卡高度.
@property (nonatomic ,assign) CGFloat YTDKcellH;

- (NSMutableDictionary *)TjRWDict;
///打卡
- (NSMutableDictionary *)TjDKDict;

///编组id
@property (nonatomic ,strong) NSString * tissueId;
///编组名称
@property (nonatomic ,strong) NSString * tissueName;
@end
NS_ASSUME_NONNULL_END
